package com.lianwei.hospital.Service;

import com.lianwei.hospital.module.entity.ErInfo;
import com.lianwei.hospital.module.entity.IllInfo;
import com.lianwei.hospital.module.vo.ErVO;
import com.lianwei.hospital.module.vo.IllVO;
import com.lianwei.hospital.utils.PageUtil;

import java.util.List;

public interface IllInfoService {
    IllInfo selectByPrimaryKey(String id) throws Exception;
    boolean insert(IllInfo illInfo) throws Exception;
    List<IllInfo> selectAll() throws Exception;
    boolean deleteByPrimaryKey(String id) throws Exception;
    boolean updateByPrimaryKey(IllInfo illInfo) throws Exception;
    /**
     * 按条件分页查询
     * @param query
     * @return
     * @throws Exception
     */
    PageUtil<IllInfo> findPage(IllVO query) throws Exception;
}
